<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@taglib prefix="s" uri="/struts-tags"%>
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
<%  
response.setHeader("Pragma","no-cache");  
response.setHeader("Cache-Control","no-store");  
response.setHeader("Expires","0");  
response.setDateHeader("Expires",-1);  
%> 
<style type="text/css">
a { 
	color:blue;
	text-decoration:none 
}
#header, #footer {
	position:fixed;
	width:100%;
	left:0;
	top:0;
	background:black;
	height:50px;
	opacity:0.9;
	
}
#footer {
	bottom:0;
	height:20px;
	top:auto;
	opacity:0.7;
}
#login {
	top: 400;
	right: 0;
}
</style>
</head>
<body>
	<s:actionerror />
	<s:if test="#session.login_true== 'yes'">
		<s:action name="login" />
	</s:if>
	<table align="center" width="100%">
		<tr><td id="header" valign="top" bgcolor="black" height="30" colspan="2"  style="border-bottom-color:#009ACD;border-bottom-style:inset;border-bottom-width: thick;">
			<p align="right"><a href="http://www.iiitb.ac.in"><font color="#009ACD" style="font-family: calibri; font-size: small;"><b>IIIT - Bangalore</b></font></a>&emsp; <font color="#009ACD" style="font-family: calibri; font-size: small;"><b>|</b></font> &emsp;<a href="login.action"><font color="#009ACD" style="font-family: calibri; font-size: small;"><b>Home</b></font></a>&emsp;<font color="#009ACD" style="font-family: calibri; font-size: small;"><b>|</b></font>&emsp;<a href="logout.action"><font color="#009ACD" style="font-family: calibri; font-size: small;"><b>Logout</b></font></a>&emsp;</p>
		</td></tr>
		<tr>
			<td width="1100" height="250"></td>
			<td id="login" align="right" width="270">
			<fieldset>
				<s:form method="post" action="login">
				<s:textfield name="username" label="Username"/>
				<s:password name="password" label="Password" />
				<s:textfield name="site" label="Site Id" value="college_db_schema"/>
				<s:submit value="Login" />
				
				</s:form>
				
				<a href="ForgotPassword.jsp">Forgot Password</a>
				</fieldset>
			</td>
		</tr>
		<tr bgcolor="black">
			<td id="footer" height="100" colspan="2"  style="border-top-color: #009ACD;border-top-style:inset;border-top-width: thick;"><%@ include file="Tiles/Footer.jsp" %>
			</td>
		</tr>
	</table>
	
</body>
</html>